package com.itheima.thread.Demo4;

public class Demo4 {
    public static void main(String[] args) {
        MyThread mt1 = new MyThread();
        mt1.setName("线程1");
        MyThread mt2 = new MyThread();
        mt2.setName("线程2");
        mt1.start();
        mt2.start();

    }
}
